package com.rome.hotel.data.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rome.hotel.common.annotation.Excel;
import com.rome.hotel.common.core.domain.BaseEntity;

/**
 * 轮播对象 hotel_carousel
 * 
 * @author rome
 * @date 2024-02-01
 */
public class HotelCarousel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轮播图的唯一标识符 */
    private Long carouselId;

    /** 轮播图的标题 */
    @Excel(name = "轮播图的标题")
    private String title;

    /** 轮播图的描述 */
    @Excel(name = "轮播图的描述")
    private String description;

    /** 轮播图的图片地址 */
    @Excel(name = "轮播图的图片地址")
    private String imageUrl;

    public void setCarouselId(Long carouselId) 
    {
        this.carouselId = carouselId;
    }

    public Long getCarouselId() 
    {
        return carouselId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carouselId", getCarouselId())
            .append("title", getTitle())
            .append("description", getDescription())
            .append("imageUrl", getImageUrl())
            .toString();
    }
}
